package com.openbravo.bean;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;

public class ProductLocationState implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey{
  /**
	 * 
	 */
	private static final long serialVersionUID = -5905507404769314307L;
private String id;
  private String productId;
  private String locationId;
  private int state;
  private Date lastModified;
  
  public static int STATE_INOUT=0;
  public static int STATE_IN=1;
  public static int STATE_OUT=2;
  public static int STATE_LOCK=3;
  

public String getId() {
	return id;
}
public void setId(String id) {
	this.id = id;
}
public String getProductId() {
	return productId;
}
public void setProductId(String productId) {
	this.productId = productId;
}
public String getLocationId() {
	return locationId;
}
public void setLocationId(String locationId) {
	this.locationId = locationId;
}
public int getState() {
	return state;
}
public void setState(int state) {
	this.state = state;
}
@Override
public String getKey() {
	return id;
}
@Override
public Date getLastModified() {
	return lastModified;
}
@Override
public void setLastModified(Date lastModified) {
	this.lastModified=lastModified;
	
}
@Override
public void setKey(String key) {
	this.id=key;
}
  
}
